/**
 * 
 */
package bookshop.test;

import java.sql.Connection;

import bookshop.dao.ManagerDao;
import bookshop.dao.impl.ManagerDaoJDBCImpl;
import bookshop.domain.Manager;
import bookshop.utils.DBUtils;


/**
 * @author WU
 *
 */
public class DBTester {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		
		Connection ct = DBUtils.getInstance().getConn();
		System.out.println(ct);
		ManagerDao managerDao=new ManagerDaoJDBCImpl();
		Manager manager=managerDao.getManagerById("000102");
		
		System.out.println(manager);

	}

}
